import request from '@/util/request.js';

/**
 * @description 支付
 * @param {Object} data
 */
export function payment(data) {
	return request({
		url: '/paymentOrder/createPaymentOrder',
		method: 'POST',
		data
	})
}

/**
 * @description 回调
 * @param {Object} data
 */
export function callback(data) {
	return request({
		url: '/paymentOrder/notify/paymentOrderCallback',
		method: 'POST',
		data
	})
}